<table class="table table-striped table-bordered table-condensed">
    <thead>
        <tr>
            <th>Attribute Code</th>
            <th>Attribute Name</th>
            <th>Attribute Type</th>
            <th class="th-action center">Action</th>
        </tr>
    </thead>
    <tbody>

        <?  foreach($attributes as $attribute): ?> 

            <tr>
                <td><?=$attribute->ID?></td>
                <td><strong><?=$attribute->name?></strong></td>
                <td><?=$attribute->value?></td>
                <td class="center">
                    <a href="<?=base_url()?>attributes/delete/<?=$attribute->ID?>" rel="<?=$attribute->ID?>" class="delete_post">Delete</a>
                </td> 

            </tr>                                      

            <? endforeach; ?>

    </tbody>
</table>